package club.hicode.spring.factory;

/**
 * Bean 工厂
 *
 * @author Liu Chunfu
 * @date 2018-04-26 下午3:46
 **/
public interface BeanFacotry {


    /**
     * 注册 bean
     *
     * @param beanName
     * @param beanDefinition
     */
    void registerBean(String beanName, BeanDefinition beanDefinition);

    /**
     * 获取 bean
     *
     * @param beanName
     * @return
     */
    Object getBean(String beanName);
}
